package com.zgcs.sequence.net.in;


public class ExitRoomSelfPackage extends InPackage {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5093633554750965386L;

	int roomID;
	int exitUserID;
	int ownerID;
	String exitUserNic;

	public ExitRoomSelfPackage(String result) {
		super(result);
	}

	@Override
	public void parserSelf() {

		roomID = Integer.parseInt(resultSpl[2]);
		ownerID = Integer.parseInt(resultSpl[3]);
		exitUserID = Integer.parseInt(resultSpl[4]);
		exitUserNic = resultSpl[5];
		
	}

	public int getRoomID() {
		return roomID;
	}

	public void setRoomID(int roomID) {
		this.roomID = roomID;
	}


	public int getExitUserID() {
		return exitUserID;
	}

	public void setExitUserID(int exitUserID) {
		this.exitUserID = exitUserID;
	}

	public int getOwnerID() {
		return ownerID;
	}

	public void setOwnerID(int ownerID) {
		this.ownerID = ownerID;
	}

	public String getExitUserNic() {
		return exitUserNic;
	}

	public void setExitUserNic(String exitUserNic) {
		this.exitUserNic = exitUserNic;
	}

}
